package verify

import (
	"awesomeProject/app/request"
)

func InboundPlanPagination(r *request.InboundPlanPagination) error {
	if r.PageIndex == 0 {
		r.PageIndex = 1
	}
	if r.PageSize == 0 {
		r.PageSize = 20
	}

	return nil
}
